package com.easy.mapper;

import com.easy.bean.Order_detail;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Order_detailMapper {
    int add(@Param("order_detail") Order_detail order_detail);
    int edit(@Param("order_detail") Order_detail order_detail);
    int del(@Param("id") Integer id);
    Order_detail one(@Param("id") Integer id);
    List<Order_detail> all(@Param("order_detail") Order_detail order_detail);

    int pageCount(@Param("order_detail") Order_detail order_detail);

    List<Order_detail> page(@Param("page") Page page, @Param("order_detail") Order_detail order_detail);
}
